package com.dadie.dorm.service;

import com.dadie.dorm.pojo.Dormbuild;
import com.dadie.dorm.pojo.query.DormbuildQuery;
import com.dadie.dorm.pojo.vo.DormbuildCountVO;
import com.dadie.dorm.util.LayUITableResult;

import java.util.List;

public interface IDormbuildService {
    LayUITableResult selectByPage(DormbuildQuery dormbuildQuery);


    boolean deleteById(int id);

    boolean add(Dormbuild dormbuild);

    List<DormbuildCountVO> selectDormbuildCount();


    boolean deleteAll(String[] ids);

    boolean update(Dormbuild dormbuild);

    Dormbuild selectById(int id);
}
